package com.iscas.dataaggregation;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan(basePackages = "com.iscas.dataaggregation.mapper.mysql", sqlSessionFactoryRef = "mysqlSqlSessionFactory")
@MapperScan(basePackages = "com.iscas.dataaggregation.mapper.clickhouse", sqlSessionFactoryRef = "clickHouseSqlSessionFactory")
public class DataAggregationApplication {

    public static void main(String[] args) {
        SpringApplication.run(DataAggregationApplication.class, args);
    }

}
